AL MOVE LISTENER TO

This function will set the position of the 3D listener. The listener acts as the player's ear within your game's environment. Unlike AL POSITION LISTENER, this function will automatically set the velocity of the listener. Normally, the listener's velocity is its old position subtracted from its new position (newXYZ - oldXYZ = velocityXYZ). However, if you want more control over the listener's velocity, use AL POSITION LISTENER and AL SET LISTENER VELOCITY instead.

  Syntax
AL MOVE LISTENER TO soundNumber, x, y, z
  Parameters
soundNumber
Integer
The sound number.
x
Float
The X position of the listener.
y
Float
The Y position of the listener.
z
Float
The Z position of the listener.

  Returns

This function does not return a value.

  See also

DarkAL Functions Menu